﻿<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
    <link href="/assets/index/css/WeUI/weui.min.css" rel="stylesheet" />
    <link href="/assets/index/css/mui/mui.min.css" rel="stylesheet" />
    <script src="/assets/index/js/jquery-1.9.1.min.js"></script>
    <script src="/assets/index/js/rating.js"></script>
    <script>
        $('#lblStarl').ready(function(){  
        //创建星星  
        InitStar(5,5,'/assets/index/images/click2.png','/assets/index/images/click.png','lblStar1','txt')  
        //重写评星描述  
        $("#txt").change(function(){  
            var v=$(this).val();  
            switch(v){  
                case "1":v="1";break;  
                case "2":v="2";break;  
                case "3":v="3";break;  
                case "4":v="4";break;  
                case "5":v="5";break;  
                default:v="";  
                }  
                $(this).val(v);  
        });  
        });  
    </script>
    <style>
        body {
            font-family: 'Microsoft YaHei';
        }

        p {
            font-size: 4.5vw;
        }
        .fa-star {  
            font-size : 50px;  
            align-content : center;  
        }  
        .container {  
            height : 100px;  
            width : 600px;  
            margin : auto;  
        } 
        #lblStar1{
            margin-left: 14px;
            width: 80%;
            height: 20px;
        } 
    </style>
    <title>评论</title>
</head>
<body>
    <img src="{$thumbs}" style="width:100%;">
    <form method="post">
        <div class="weui-cells__title">请留下您的宝贵意见，对我们的鼓励是最大的支持</div>
        <div class="weui-cells__title">当前评论的课程是：{$title}</div>
        <div class="weui-cells weui-cells_form">
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <textarea class="weui-textarea" placeholder="请输入内容" rows="3"  name="answerParse" cols="76"></textarea>
                    <div class="weui-textarea-counter"><span>0</span>/200</div>
                    <label class="weui-textarea"  id="lblStar1"></label><input type="hidden" name="level" id="txt"> 
                </div>
            </div>
        </div>
        
        <button type="submit showTooltips" class="weui-btn weui-btn_primary" style="margin-top: 10px;">
            立即提交
        </button>
    </form>
</body>
</html>

